﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

public partial class Postings : System.Web.UI.Page
{
    PostingDAO postDAO = new PostingDAO();
    protected void Page_Load(object sender, EventArgs e)
    {
        int compID = int.Parse(Request["CompetitionID"]);
        DataSet ds = postDAO.GetPostingInfoByCompetitionID(compID);
        if (ds.Tables.Count > 0)
        {
            rptPostings.DataSource = ds;
            rptPostings.DataBind();
        }

    }
}